//typedef HttpCallBack = Function( success,  result,  message);


class HTTPError extends Error
{
  HTTPError(this.data,this.code,this.message){}

  Object data;
  int code;
  String message;

  String toString(){
    return Error.safeToString(data);
  }

}